# Author:: Alexandre Ribeiro de Souza (<alexandre@lumis.com.br>)

name "base"
description "Base role applied to all nodes."
run_list(
  "recipe[chef-client::delete_validation]",
  "recipe[chef-client::config]",
  "recipe[chef-client::service]",
  "recipe[aws]",
  "recipe[users::sysadmins]",
  "recipe[lumis_aws::instancename]",
  "recipe[lumis_users::localusers]",
  "recipe[lumis_users::sudo]"
)
override_attributes(
  "authorization" => {
    "sudo" => {
      "passwordless" => true
    }
  },
  "chef_client" => {
    "init_style" => "init",
    "server_url" => "http://ec2-23-23-235-241.compute-1.amazonaws.com:4000"
  },
  "aws" => {
    "right_aws_version" => "3.0.4"
  }
)
